﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace QBZ.Evaluation.Repositories.DataAccess
{
    [Table("tb_skillChild")]
    public partial class TbSkillChild
    {
        [Key]
        public int SkillChildId { get; set; }

        public int SkillId { get; set; }

        [ForeignKey("SkillId")]
        public virtual TbSkill Skill { get; set; }

        [MaxLength(50)]
        public string SkillChildName { get; set; }

        [MaxLength(500)]
        public string SkillChildDescription { get; set; }

        public bool SkillChildIsDelete { get; set; }

        public int LevelId { get; set; }

        public DateTime CreateOn { get; set; }

        public int CreateBy { get; set; }

        public DateTime? UpdateOn { get; set; }

        public int? UpdateBy { get; set; }

        [Timestamp]
        public byte[] TimeStamp { get; set; }

        public Guid Guid { get; set; }
    }
}